package com.wicket.okrapp.biz.service.dto.common;

import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;

/**
 * @desc MidOrBasicDeptDirectorDto
 * @使用场景
 */
@Data
public class MidOrBasicDeptDirectorDto extends BaseDto implements Serializable {

  /**
   * 中基层主管身份人员ID
   */
  @ApiModelProperty("中基层主管身份人员ID")
  private String arrangeOriginalRoleMemberId;

  /**
   * 中基层主管账号
   */
  @ApiModelProperty("中基层主管账号")
  private String arrangeUserId;

  /**
   * 中基层主管就职记录ID
   */
  @ApiModelProperty("中基层主管就职记录ID")
  private String arrangeInductionId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      MidOrBasicDeptDirectorDto that = (MidOrBasicDeptDirectorDto) o;
      return  arrangeOriginalRoleMemberId == that.arrangeOriginalRoleMemberId&&arrangeUserId == that.arrangeUserId&&arrangeInductionId == that.arrangeInductionId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), arrangeOriginalRoleMemberId,arrangeUserId,arrangeInductionId);
    }

}
